{extend name="public/base"/} {block name="style"}{/block} {block name="body"}
<section class="content-header">
  <h1>
    系统设置
    <small>添加污水检测指标字段信息</small>
  </h1>
  <ol class="breadcrumb">
    <li><a href="{:url('/')}"><i class="fa fa-dashboard"></i> 面板</a></li>
    <li><a href="{:url('index')}">系统设置</a></li>
    <li class="active">添加污水检测指标字段信息</li>
  </ol>
</section>
<section class="content">
  <div class="col-md-6">
    <div class="box box-info box-form">
      <div class="box-header with-border">
        <h3 class="box-title">添加污水检测指标字段信息</h3>
      </div>
      <!-- form start -->
      <form method="POST" action="">
        <div class="box-body">
          <div class="form-group6">
            <label class="control-label">指标所属分类</label>
            <select  class="form-control " name="category" id="category">
              {volist name="cate" id="vo"}
                <option value="{$vo.id}"  {eq name="item.category" value="$vo['id']"}selected="selected"{/eq} >{$vo.name}</option>
              {/volist}
            </select>
            
          </div>
          <div class="form-group6">
            <label class="control-label">指标字段(污染物)名称</label>
            <input type="text" class="form-control " id="name" name="name" placeholder="指标字段(污染物)名称" value="{$item.name}">
             <input type="text" class="hidden " hidden="hidden" id="id" name="id"  value="{$item.id}">
          </div>
          <div class="form-group6">
            <label class="control-label">字段标识</label>
            <input type="text" class="form-control " id="field" name="field" placeholder="计量单位" value="{$item.field}" readonly>
          </div>
          
          <div class="form-group">
            <label class="control-label">排序</label>
            <input type="text" class="form-control " id="sort" name="sort" placeholder="排序" value="{$item.sort}">
          </div>
          <div class="form-group ">
            <label class="control-label">是否启用</label>
            <div>
              <label class="radio-inline">
            <input type="radio" name="status" id="status" {eq name="item.status" value="1"} checked {/eq}  value="1"> 是
          </label>
              <label class="radio-inline">
            <input type="radio" name="status" id="status" {eq name="item.status" value="0"} checked {/eq}  value="0"> 否
          </label>
            </div>
          </div>
          
        </div>
        <!-- /.box-body -->
        <div class="box-footer ">
          <button type="reset" class="btn btn-default">重置表单</button>
          <button type="submit" class="btn btn-info pull-right">提交保存</button>
        </div>
        <!-- /.box-footer -->
      </form>
    </div>
  </div>
</section>
{/block} {block name="scripts"}{/block}